package com.cykj.feign.impl;

import com.cykj.dto.ResponseDTO;
import com.cykj.feign.GoodControllerFeign;
import com.cykj.vo.CyGoodVO;
import org.springframework.stereotype.Component;

/**
 * @author 王宇
 * @CreateTime: 2025-08-04  09:45
 * @BelongsProject: jd_seckill
 * @BelongsPackage: com.cykj.feign.impl
 * @description 调用微服务接口实现
 */
//@Component
public class GoodControllerFeignImpl implements GoodControllerFeign {
    @Override
    public ResponseDTO subGoodStock(CyGoodVO cyGoodVO) {
        return ResponseDTO.error("发生熔断");
    }
}
